package com.xxtx.trade.sysUser.dto;

import com.xxtx.trade.common.util.model.PageInfoDto;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

@Data
public class KuaiShouInfoDto extends PageInfoDto implements Serializable {
    private String idfaMD5;
    private String imeiMD5;
    private String callback;
    private String accountid;
    private String did;
    private String aid;
    private String cid;
    private String dname;
    private String unitname;
    private String photoid;
    private String oaid2;
    private String os;
    private String model;
    private String ip;
    private String csite;



    private String urlId;
    private String agentName;
    private String urlName;
    private String createTime;

    // 用户相关配置，查询参数等
    private String user_role; // 用户角色
    private String agentId; // 该条链接所属的客户id
    private String startTimeString;
    private String endTimeString;

    // 字段开关
    private String idfaMD5_status;
    private String imeiMD5_status;
    private String callback_status;
    private String accountid_status;
    private String did_status;
    private String aid_status;
    private String cid_status;
    private String dname_status;
    private String unitname_status;
    private String photoid_status;
    private String oaid2_status;
    private String os_status;
    private String model_status;
    private String ip_status;
    private String csite_status;

    public void copyFrom(KuaiShouInfoDto anotherDto) throws InvocationTargetException, IllegalAccessException{
        BeanUtils.copyProperties(this, anotherDto);
    }

}
